package com.yc.jpyy.penaltydoc.dao;

import com.yc.jpyy.base.dao.BaseDao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface PenaltyDocDao extends BaseDao {
    List<Map<String,Object>> getDriverCarRelationByVehicleNo(String vehicleNo);

    int getMaxNum(String serialNumberType);
    int checkIsHave(String serialNumberType);
    void updateNum(@Param("serialNumberType") String serialNumberType,@Param("num") int num);
    void addNum(@Param("serialNumberType") String serialNumberType,@Param("num") int num,@Param("dbcode") String dbcode);
    String getRegionNo(Map<String, Object> paramsMap);
    
    int isUseByVehicle(String maxNum);
}
